package com.zhangchuchu.neohealth.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zhangchuchu.neohealth.entity.User;


public interface UserService extends IService<User> {
    boolean existsByUsername(String username);

    boolean existsByEmail(String email);

    boolean existsByPhone(String phone);

    User findByUsername(String username);

    User findByEmail(String email);

    User findByPhone(String phone);

    boolean updateUser(User user);
}